package com.musicmall.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Singles {
    private Integer id;

    private String name;

    private Integer artistId;

    private String artistName;

    private Integer albumId;

    private String albumName;

    private BigDecimal price;

    private Integer sales;

    private Integer status;

    private String singer;

    private String lyricist;

    private String composer;

    private String language;

    private String genre;

    private String company;

    private Date createTime;

    private Date updateTime;

    private String introduction;

    public Singles(Integer id, String name, Integer artistId, String artistName, Integer albumId, String albumName, BigDecimal price, Integer sales, Integer status, String singer, String lyricist, String composer, String language, String genre, String company, Date createTime, Date updateTime) {
        this.id = id;
        this.name = name;
        this.artistId = artistId;
        this.artistName = artistName;
        this.albumId = albumId;
        this.albumName = albumName;
        this.price = price;
        this.sales = sales;
        this.status = status;
        this.singer = singer;
        this.lyricist = lyricist;
        this.composer = composer;
        this.language = language;
        this.genre = genre;
        this.company = company;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Singles(Integer id, String name, Integer artistId, String artistName, Integer albumId, String albumName, BigDecimal price, Integer sales, Integer status, String singer, String lyricist, String composer, String language, String genre, String company, Date createTime, Date updateTime, String introduction) {
        this.id = id;
        this.name = name;
        this.artistId = artistId;
        this.artistName = artistName;
        this.albumId = albumId;
        this.albumName = albumName;
        this.price = price;
        this.sales = sales;
        this.status = status;
        this.singer = singer;
        this.lyricist = lyricist;
        this.composer = composer;
        this.language = language;
        this.genre = genre;
        this.company = company;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.introduction = introduction;
    }

    public Singles() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getArtistId() {
        return artistId;
    }

    public void setArtistId(Integer artistId) {
        this.artistId = artistId;
    }

    public String getArtistName() {
        return artistName;
    }

    public void setArtistName(String artistName) {
        this.artistName = artistName == null ? null : artistName.trim();
    }

    public Integer getAlbumId() {
        return albumId;
    }

    public void setAlbumId(Integer albumId) {
        this.albumId = albumId;
    }

    public String getAlbumName() {
        return albumName;
    }

    public void setAlbumName(String albumName) {
        this.albumName = albumName == null ? null : albumName.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSinger() {
        return singer;
    }

    public void setSinger(String singer) {
        this.singer = singer == null ? null : singer.trim();
    }

    public String getLyricist() {
        return lyricist;
    }

    public void setLyricist(String lyricist) {
        this.lyricist = lyricist == null ? null : lyricist.trim();
    }

    public String getComposer() {
        return composer;
    }

    public void setComposer(String composer) {
        this.composer = composer == null ? null : composer.trim();
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language == null ? null : language.trim();
    }

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre == null ? null : genre.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }
}